﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tasks.Business;

namespace Tasks.Core
{
    /// <summary>
    /// 业务工厂，用于构建业务逻辑处理类
    /// </summary>
    public class BusinessFactory
    {

        public static BasedataBLL BasedataBLL
        {
            get
            {
                return new BasedataBLL(Config.CompanyID);
            }
        }

      
        /// <summary>
        /// 账户相关
        /// </summary>
        public static AccountBLL Account
        {
            get
            {
                return new AccountBLL();
            }
        }

      
        /// <summary>
        /// 权限相关
        /// </summary>
        public static PowerBLL Power
        {

            get
            {
                return new PowerBLL(Config.CompanyID);
            }
        }

 
    }
}
